package com.intramirror.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Created on 2018/1/21.
 * @author Admin
 */
@EnableDiscoveryClient
@SpringBootApplication
@ServletComponentScan
@EnableScheduling
@MapperScan("com.intramirror.product.mapper")
public class ProductApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ProductApplication.class).web(true).run(args);
    }
}
